package com.acquisition.param.dto;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Map;

/**
 * 参数单位
 * 对应UnitParam
 *
 * @author wuqiwei
 * @date 2020/12/16
 */
public class ParamUnitConfig {

	@JSONField(name="type")
	private String type;

	@JSONField(name="mn")
	private String mn;

	@JSONField(name="unitMap")
	private Map<String, String> unitMap;

	public ParamUnitConfig() {
		super();
	}

	public ParamUnitConfig(String type, String mn, Map<String, String> unitMap) {
		super();
		this.type = type;
		this.mn = mn;
		this.unitMap = unitMap;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMn() {
		return mn;
	}

	public void setMn(String mn) {
		this.mn = mn;
	}

	public Map<String, String> getUnitMap() {
		return unitMap;
	}

	public void setUnitMap(Map<String, String> unitMap) {
		this.unitMap = unitMap;
	}

	@Override
	public String toString() {
		return "ParamUnitConfig [type=" + type + ", mn=" + mn + ", unitMap=" + unitMap + "]";
	}

}
